<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<form name="RTEDemo" action="demo.php" method="post" onsubmit="return submitForm();">
<script language="JavaScript" type="text/javascript" src="richtext.js"></script>
<script language="JavaScript" type="text/javascript">
function submitForm() {
        updateRTE('rte1');
        alert("rte1 = " + document.RTEDemo.rte1.value);
        return false;
}
initRTE("", "", "");
</script>
<script language="JavaScript" type="text/javascript">
writeRichText('rte1', 'content', 520, 200, true, false);
writeRichText('rte2', 'content', 520, 200, true, false);
writeRichText('rte3', 'content', 520, 200, true, false);
</script>

<p>Click submit to show the value of the text box.</p>
<p><input type="submit" name="submit" value="Submit"></p>
</form>
</body>
</html>
